package com.rf.business.dao;

import com.rf.business.model.Declaration;
import com.rf.business.model.DeclarationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeclarationMapper {
    int countByExample(DeclarationExample example);

    int deleteByExample(DeclarationExample example);

    int deleteByPrimaryKey(String id);

    int insert(Declaration record);

    int insertSelective(Declaration record);

    List<Declaration> selectByExample(DeclarationExample example);

    Declaration selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Declaration record, @Param("example") DeclarationExample example);

    int updateByExample(@Param("record") Declaration record, @Param("example") DeclarationExample example);

    int updateByPrimaryKeySelective(Declaration record);

    int updateByPrimaryKey(Declaration record);
}